package com.gxsyh.nantie.login.provider.service.impl;

import com.gxsyh.nantie.login.provider.domain.TbPermission;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.gxsyh.nantie.login.provider.mapper.TbPermissionMapper;
import com.gxsyh.nantie.login.provider.service.TbPermissionService;

import java.util.List;

/**
 * @email yom535@outlook.com
 * @author: 刘锋嘉(Liu Fengjia)
 * @date: 2020/1/2
 * @time: 11:26
 * @Description: 
 */
@Service
public class TbPermissionServiceImpl implements TbPermissionService{

    @Resource
    private TbPermissionMapper tbPermissionMapper;

    @Override
    public List<TbPermission> selectTbPermissionByUsername(String username) {
        return tbPermissionMapper.selectTbPermissionByUsername(username);
    }
}
